﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【用户与角色】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 用户与角色
    /// </summary>
    [SugarTable("dbo.UserRole")]
    public partial class UserRole
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "UserRoleID")]
        public int UserRoleID { get; set; }
        
        /// <summary>
        /// 用户
        /// </summary>
        [SugarColumn(ColumnName = "UserID")]
        public int UserID { get; set; }
        
        /// <summary>
        /// 用户角色
        /// </summary>
        [SugarColumn(ColumnName = "RoleID")]
        public int RoleID { get; set; }
    }
}
